<?php
$this->title = "A-PMS资产管理系统-发起协同";


$this->registerCssFile('/css/list/timePicker/jquery-ui-1.11.4.css');
$this->registerCssFile('/css/list/timePicker/jquery-ui-timepicker-addon.css');
$this->registerCssFile('/css/common/base.css');
$this->registerCssFile('/css/officeHall/uploadAssetPackage/initiateSynergy.css');
$this->registerCssFile('/css/common/header-footer.css');
$this->registerCssFile('/css/adminLTE/select2.min.css');

$this->registerJsFile('/js/common.js');
$this->registerJsFile('/css/list/jquery/jquery.min.js');
$this->registerJsFile('/js/officeHall/uploadAssetPackage/initiateSynergy.js');
$this->registerJsFile('/css/list/timePicker/jquery-ui-1.11.4.js');
$this->registerJsFile('/css/list/timePicker/zh-CN.js');
$this->registerJsFile('/js/adminLTE/bootstrap.min.js');
$this->registerJsFile('/js/adminLTE/select2.full.min.js');
$this->registerJsFile('/css/list/timePicker/jquery-ui-timepicker-addon.js');
$this->registerJsFile('/css/list/timePicker/jquery-ui-timepicker-addon.js');
$this->registerJsFile('/css/list/timePicker/jquery-ui-timepicker-zh-CN.js');
?>




		<!--<div id="mask" class="mask"></div>-->
		<a href="javascript:;" class="clickTest" " >点我显示遮罩层</a><br />  
		
		<!--//遮罩层-->
		<div class="modalFrame show" >
			
		</div>
		<!--//1.团队组成-->
		<div class="container">
				<div class="rwo">
					<div class="mask xy" >
						<div class="top">
							<img class="pull-left"
								src="/image/officeHall/uploadAssetPackage/mask.png"/>
							<span>发起协同</span>
							<img class="pull-right"
								src="/image/officeHall/uploadAssetPackage/clos.png" alt="" />
						</div>
						<div class="myFrom">
							<p>1.团队组成</p>
							<form class="formOne">
								<ul class="formOneUl clearfix">
                                    <!--资产包id-->
                                    <input type="text" id="package_id" hidden value="<?= \Yii::$app->request->get('package_id', 1);?>">
                                    <!--资产包详情id-->
                                    <input type="text" id="package_plan_id" hidden value="<?= !empty($workman['id'])?$workman['id']:0;?>">
									<li class="clearfix">
										<span  class="pull-left">上传人</span>
										<input type="text" hidden value="<?= \Yii::$app->user->id; ?>" name="uploaded_by_id" class="inputText pull-left" id="uploaded_by_id">
										<input type="text" list="assetPackageTitle" name="uploaded_by_name" id="uploaded_by_name" placeholder="<?= !empty($RoleNameStr .$userName['realname'])?$RoleNameStr .$userName['realname']:'请输入关键字' ?>" value="<?= !empty($RoleNameStr .$userName['realname'])?$RoleNameStr .$userName['realname']:'' ?>"/>

<!--											<button type="button" class="btn  determine btn-success">-->
<!--												确定-->
<!--											</button>-->
<!--											<datalist id="assetPackageTitle">-->
<!--												<option value="12提示1"></option>-->
<!--												<option value="14提示2"></option>-->
<!--												<option value="15提示3"></option>-->
<!--											</datalist>-->
									</li>
									<input type="text" hidden value="" name="leader_id" id="leader_id">
									<li class="clearfix">
										<span  class="pull-left">资产包负责人</span>
										<input type="text" list="assetPackageTitle" name="leader_name" id="leader_name" placeholder="资产包负责人" class="inputText pull-left"/>
										<div class="seachBox  clearfix">
											<input type="text" class="inputHider" name="" id=""
												   list = "assetPackageTitle" value=""
												   placeholder="请输入关键字" />
											<button type="button" class="btn  determine btn-success" id="button1">
												确定
											</button>
											<datalist id="assetPackageTitle">
												<option value="" ></option>
												<?php
												foreach ($userNameAndID as $k => $v) {
													echo "<option DataKeyField='".$v['id']."' value='".$v['realname']."'></option>";
												}
												?>
											</datalist>
										</div>

									</li>

									<input type="text" hidden value="" name="pre_evaluation_id" id="pre_evaluation_id">
									<li class="clearfix">
										<span  class="pull-left">预评估</span>
										<input type="text" placeholder="预评估" name="pre_evaluation_name" id="pre_evaluation_name"
											   class="inputText pull-left"/>
										<div class="seachBox clearfix">
											<input type="text" class="inputHider" name="" id=""
												   list = "assetPackageTitle" value=""
												   placeholder="请输入关键字" />
											<button type="button" class="btn  determine btn-success"  id="button2">
												确定
											</button>
											<datalist id="assetPackageTitle">
												<?php
												foreach ($userNameAndID as $k => $v) {
													echo "<option value='".$v['realname']."'></option>";
												}
												?>
											</datalist>
										</div>

									</li>
									<input type="text" hidden value="" name="due_diligence_id" id="due_diligence_id">
									<li class="clearfix">
										<span  class="pull-left">尽调人员</span>
										<input type="text" placeholder="项目三部-李四" name="due_diligence_name"
											   class="inputText pull-left" id="due_diligence_name"/>
										<div class="seachBox clearfix">
											<input type="text" class="inputHider" name="" id=""
												   list = "assetPackageTitle" value=""
												   placeholder="请输入关键字" />
											<button type="button" class="btn  determine btn-success"  id="button3">
												确定
											</button>
											<datalist id="assetPackageTitle">
												<?php
												foreach ($userNameAndID as $k => $v) {
													echo "<option value='".$v['realname']."'></option>";
												}
												?>
											</datalist>
										</div>

									</li>

									<li class="clearfix">
										<span  class="pull-left">其他说明</span>
										<input type="text" placeholder="项目三部-李四" name="other_team_notes" id="other_team_notes" class="inputText pull-left"/>
<!--										<div class="seachBox clearfix">-->
<!--											<input type="text" class="inputHider" name="" id=""-->
<!--												   list = "assetPackageTitle" value=""-->
<!--												   placeholder="请输入关键字" />-->
<!--											<button type="button" class="btn  determine btn-success">-->
<!--												确定-->
<!--											</button>-->
<!--											<datalist id="assetPackageTitle">-->
<!--												<option value="12提示1"></option>-->
<!--												<option value="14提示2"></option>-->
<!--												<option value="15提示3"></option>-->
<!--											</datalist>-->
										</div>

									</li>
								</ul>
							</form>

							<div class="lastNextStep">
								<button type="button" class="btn nextStep btn-primary  active pull-right">下一步</button>
								<button type="button" class="btn lastStep pull-right">取&nbsp;&nbsp;消</button>
							</div>

						</div>
					</div>
				</div>
		</div>
			
			<!--工作计划-->
			<div class="container">
				<div class="rwo">
					<div class="maskTwo xy" >
						<div class="top">
							<img class="pull-left"
								src="/image/officeHall/uploadAssetPackage/mask.png"/>
							<span>发起协同</span>
							<img class="pull-right"
								src="/image/officeHall/uploadAssetPackage/clos.png" alt="" />
						</div>
						<div class="myFrom ">
							<p>2.工作计划</p>
							<div class="maskTwoCenter formOne">
								<div class="timeWork">
									<span>时间</span>
									 <span>工作节点</span>
								</div>
								<ul id="dataUl">
										<li>
										 <label for="query_end_date1">
								            <input  id="query_start_date1" 
								            	placeholder="2017/11/29" 
								            	name="query_start_date[]" value=""
								            	type="text" class="s-input-txt openrili_start" />
								            <img class="y"
								            	src="/image/officeHall/uploadAssetPackage/data.png"/>
								        </label>
								        <span> —</span>
								        <label for="query_end_date1">
								            <input  id="query_end_date1" 
								            	placeholder="2017/11/29" 
								            	name="query_end_date" 
								            	value="" type="text"
								            	class="s-input-txt openrili_end" />
								            	<img class="y"
								            		src="/image/officeHall/uploadAssetPackage/data.png"/>
      								    </label>
      								    <span class = "endImmediately">
      								    	<input type="text" id="endImmediately" 
      								    		placeholder="立即结束" autofocus />
      								    </span> <span>
      								    	<input type="text" hidden class="upPlanWork" value="0"/>
      								    </span>
      								    <button type="button" class="btn btn-success">
      								    	添加
      								    </button>
      								    <button type="button" class="btn btn-danger">
      								    	删除
      								    </button>
									</li>
									<li>
										 <label for="query_start_date2">
								            <input  id="query_start_date2" 
								            	placeholder="2017/11/29" 
								            	name="query_start_date[]" value=""
								            	type="text" class="s-input-txt openrili_start" />
								            <img class="y"
								            	src="/image/officeHall/uploadAssetPackage/data.png"/>
								        </label>
								        <span> —</span>
								        <label  for="query_end_date2">
								            <input  id="query_end_date2" 
								            	placeholder="2017/11/29" 
								            	name="query_end_date" 
								            	value="" type="text" 
								            	class="s-input-txt openrili_end" />
								            	<img class="y"
								            		src="/image/officeHall/uploadAssetPackage/data.png"/>
      								    </label>
      								    <span class = "endImmediately">
      								    	<input type="text" id="endImmediately" 
      								    		placeholder="拿到权威委托,落实好尽调渠道和计划沟通的代理律师" />
      								    </span>
                                       <span>
      								    	<input type="text" hidden class="upPlanWork" value="0"/>
      								    </span>
      								    <button type="button" class="btn btn-success">
      								    	添加
      								    </button>
      								    <button type="button" class="btn btn-danger">
      								    	删除
      								    </button>
									</li>
									<li>
										 <label for="query_start_date3">
								            <input   id="query_start_date3" 
								            	placeholder="2017/11/29" 
								            	name="query_start_date[]" value=""
								            	type="text" class="s-input-txt openrili_start" />
								            <img class="y"
								            	src="/image/officeHall/uploadAssetPackage/data.png"/>
								        </label>
								        <span>—</span>
								        <label for="query_end_date3">
								            <input   id="query_end_date3" 
								            	placeholder="2017/11/29" 
								            	name="query_end_date[]" 
								            	value="" type="text" 
								            	class="s-input-txt openrili_end" />
								            	<img class="y"
								            		src="/image/officeHall/uploadAssetPackage/data.png"/>
      								    </label>
      								    <span class = "endImmediately">
      								    	<input  type="text" id="endImmediately" 
      								    		placeholder="现场尽调,查询房地和本案诉信息" />
      								    </span>
                                        <span>
      								    	<input type="text" hidden class="upPlanWork" value="0"/>
      								    </span>
      								    <button type="button" class="btn btn-success">
      								    	添加
      								    </button>
      								    <button type="button" class="btn btn-danger">
      								    	删除
      								    </button>
									</li>
									<li>
										 <label for="query_start_date4">
								            <input   id="query_start_date4" 
								            	placeholder="2017/11/29" 
								            	name="query_start_date[]" value=""
								            	type="text" class="s-input-txt openrili_start" />
								            <img class="y"
								            	src="/image/officeHall/uploadAssetPackage/data.png"/>
								        </label>
								        <span> —</span>
								        <label for="query_end_date4">
								            <input   id="query_end_date4" 
								            	placeholder="2017/11/29" 
								            	name="query_end_date" 
								            	value="" type="text" 
								            	class="s-input-txt openrili_end" />
								            	<img class="y"
								            		src="/image/officeHall/uploadAssetPackage/data.png"/>
      								    </label>
      								    <span class = "endImmediately">
      								    	<input  type="text" id="endImmediately" 
      								    		placeholder="完成新包尽调评估报告" />
      								    </span>
                                     <span>
      								    	<input type="text" hidden class="upPlanWork" value="0"/>
      								    </span>
      								    <button type="button" class="btn btn-success">
      								    	添加
      								    </button>
      								    <button type="button" class="btn btn-danger">
      								    	删除
      								    </button>
									</li>
									<li>
										 <label for="query_start_date5">
								            <input  id="query_start_date5" placeholder="2017/11/29"
								            	name="query_start_date[]" value=""
								            	type="text" class="s-input-txt openrili_start" />
								            <img class="y"
								            	src="/image/officeHall/uploadAssetPackage/data.png"/>
								        </label>
								        <span> —</span>
								        <label for="query_end_date5">
								            <input   id="query_end_date5" 
								            	placeholder="2017/11/29" 
								            	name="query_end_date" 
								            	value="" type="text" 
								            	class="s-input-txt openrili_end" />
								            	<img class="y"
								            		src="/image/officeHall/uploadAssetPackage/data.png"/>
      								    </label>
      								    <span class = "endImmediately">
      								    	<input type="text" id="endImmediately"
      								    		placeholder="完成收购" />
      								    </span>
                                       <span>
      								    	<input type="text" hidden class="upPlanWork" value="0"/>
      								    </span>
      								    <button type="button" class="btn btn-success">
      								    	添加
      								    </button>
      								    <button type="button" class="btn btn-danger">
      								    	删除
      								    </button>
									</li>
								</ul>
							</div>
							<!--<form action="" class="formOne">

							</form>-->
							 <div class="lastNextStep">
						 		<button type="button" class="btn nextStep btn-primary  active pull-right" id="submit">提交</button>
							<button type="button" class="btn lastStep pull-right">取&nbsp;&nbsp;消</button>
						</div>
							
						</div>
					</div>
				</div>
			</div>


	<script>
		var userData = '<?php echo json_encode($userNameAndID);?>';
		//单击确定
		var JsonToUserData = JSON.parse( userData );
		console.log(JsonToUserData);
		var UserId = ',';
		var buttonId = '';
		window.onload = function(){
		}
	</script>
</html>
